package com.puge.eduservice.entity.subject;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author by sun
 * @date 2021/6/14.15:36
 */
//一级分类

    @Data
public class OneSubject {
        private String id;
        private String title;

//      一个以及分类有多个二级分类
    private List<TwoSubject> children = new ArrayList<>();

    }
